<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="f"  uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h"  uri="http://java.sun.com/jsf/html"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Sistema TBPM</title>
</head>
<body>
<f:view>
	<f:loadBundle basename="tbpm.messages" var="msg"/>
	<h:form>	
		<h:panelGrid border="1" columns="2">
			<h:outputText value="#{msg.name}"></h:outputText>
 			<h:inputText id="name" value="#{loginBean.name}"></h:inputText> 
			<h:outputText value="#{msg.password}"></h:outputText>
 			<h:inputSecret value="#{loginBean.password}">
			<f:validator validatorId="tbpm.ValidarPassword" /> 
			</h:inputSecret>
		</h:panelGrid>
		<h:commandButton value="Login" action="login"></h:commandButton>
			<br>
			<br><a href=VerEstadoLlamado.jsp>Ver Estado Llamado</a>
			<a href=IniciarLlamado.jsp><br>Iniciar Llamado</a>
			<br><a href=VerLlamadosAbiertos.jsp>Ver Llamados Abiertos</a>
			<br>			
		</h:form>
</f:view>	
</body>
</html>